#include "UserInterface_PCH.h"
#include "IUserInterface.h"

/*--------------------------------------------------------------------------*/

IUserInterface::IUserInterface()
{

}

/*--------------------------------------------------------------------------*/

IUserInterface::~IUserInterface()
{

}

/*--------------------------------------------------------------------------*/

void IUserInterface::CreateInstance()
{
	if (!g_UserInterface)
	{
		g_UserInterface = new CUserInterface();
	}
}

/*--------------------------------------------------------------------------*/

void IUserInterface::DestroyInstance()
{
	if (g_UserInterface)
	{
		delete g_UserInterface;
		g_UserInterface = NULL;
	}
}

/*--------------------------------------------------------------------------*/